package servlets;

import jakarta.servlet.*;
import jakarta.servlet.http.*;
import jakarta.servlet.annotation.*;

import java.io.IOException;

@WebServlet("/Servlet")
public class Servlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        String action = request.getParameter("action");

        if ("order".equals(action)) {
            request.getRequestDispatcher("pirt/driversBig/All_Order.jsp").forward(request, response);
            System.out.println(67890);
        } else {
            response.sendError(HttpServletResponse.SC_NOT_FOUND, "请求的操作不存在");
        }
    }
}